package cn.wp.common.core.module.login;

import cn.wp.common.core.authentication.AuthenticationInfo;

/**
 * 登录服务接口
 * Created by chenyb on 2019/09/27
 */
public interface LoginService {

    /**
     * 登录
     * @return
     */
    public AuthenticationInfo login(String username,String password);

    /**
     * 注销
     * @return
     */
    public boolean logout();

}
